const menuData = [
  {
    path: '/home',
    name: 'home',
    label: '首页',
    icon: 's-home',
    url: 'Home/Home',
    permission: ['all']
  },
  {
    path: '/medical-introduce',
    name: 'medicalIntroduce',
    label: '药品介绍',
    icon: 's-tools',
    url: 'MedicalIntroduce/MedicalIntroduce',
    permission: ['admin']
  },
  {
    label: '医院管理',
    icon: 's-management',
    permission: ['admin'],
    children: [
      {
        path: '/hospital-apply',
        name: 'hospitalApply',
        label: '医院申请',
        icon: 's-opportunity',
        permission: ['admin'],
        url: 'Other/HospitalApply'
      }
      // {
      //   path: '/hospital-manage',
      //   name: 'hospitalManage',
      //   label: '在册医院',
      //   icon: 's-opportunity',
      //   permission: ['admin'],
      //   url: 'Other/hospitalManage'
      // }
    ]
  },
  {
    path: '/department',
    name: 'department',
    label: '部门管理',
    icon: 's-tools',
    url: 'Department/Department',
    permission: ['hospital']
  },
  {
    path: '/doctor-manager',
    name: 'doctorManager',
    label: '医生管理',
    icon: 'user-solid',
    url: 'DoctorManager/DoctorManager',
    permission: ['hospital']
  },
  {
    label: '预约系统',
    icon: 's-custom',
    permission: ['user'],
    children: [
      {
        path: '/book',
        name: 'book',
        label: '在线预约',
        icon: 's-custom',
        permission: ['user'],
        url: 'Book/Book'
      },
      {
        path: '/book-detail',
        name: 'book-detail',
        label: '预约管理',
        icon: 's-custom',
        permission: ['user'],
        url: 'BookDetail/BookDetail'
      }
    ]
  },
  {
    label: '药品购买',
    icon: 's-goods',
    permission: ['user'],
    children: [
      {
        path: '/medical-sell',
        name: 'MedicalSell',
        label: '药品售卖',
        icon: 's-custom',
        permission: ['user'],
        url: 'MedicalSell/MedicalSell'
      },
      {
        path: '/shopping-cart',
        name: 'ShoppingCart',
        label: '购物车',
        icon: 's-custom',
        permission: ['user'],
        url: 'ShoppingCart/ShoppingCart'
      },
      {
        path: '/medical-order',
        name: 'MedicalOrder',
        label: '订单管理',
        icon: 's-custom',
        permission: ['user'],
        url: 'MedicalOrder/MedicalOrder'
      },
      {
        path: '/address-manage',
        name: 'AddressManage',
        label: '收货地址',
        icon: 's-custom',
        permission: ['user'],
        url: 'AddressManage/AddressManage'
      }
    ]
  },
  {
    path: '/doctor-introduce',
    name: 'doctorIntroduce',
    label: '个人介绍',
    icon: 's-tools',
    url: 'DoctorIntroduce/DoctorIntroduce',
    permission: ['doctor']
  },
  {
    path: '/doctor-book',
    name: 'doctorBook',
    label: '预约管理',
    icon: 's-order',
    url: 'DoctorBook/DoctorBook',
    permission: ['doctor']
  },
  {
    path: '/booking',
    name: 'booking',
    label: '正在问诊',
    icon: 'message-solid',
    url: 'Booking/Booking',
    permission: ['doctor']
  },
  {
    path: '/front-desk-book',
    name: 'frontDeskBook',
    label: '预约管理',
    icon: 's-order',
    url: 'FrontDeskBook/FrontDeskBook',
    permission: ['frontDesk']
  },
  {
    path: '/medical-manage',
    name: 'medicalManage',
    label: '药品管理',
    icon: 's-open',
    url: 'MedicalManage/MedicalManage',
    permission: ['medicine']
  },
  {
    path: '/order-manage',
    name: 'orderManage',
    label: '订单管理',
    icon: 's-order',
    url: 'OrderManage/OrderManage',
    permission: ['medicine']
  },
  {
    path: '/prescription',
    name: 'prescription',
    label: '药方管理',
    icon: 's-claim',
    url: 'Prescription/Prescription',
    permission: ['medicine']
  },
  {
    path: '/medical-manage-history',
    name: 'medicalManageHistory',
    label: '操作记录',
    icon: 'delete-solid',
    url: 'MedicalManageHistory/MedicalManageHistory',
    permission: ['medicine']
  }
]

export default {
  menuData
}
